home *** CD-ROM | disk | FTP | other *** search
- Path: news.production.compuserve.com!news
- From: John Clemens <75343.1203@CompuServe.COM>
- Newsgroups: comp.lang.c,comp.lang.c++,comp.os.msdos.programmer
- Subject: 64k Virtual memory page...
- Date: 6 Apr 1996 21:02:46 GMT
- Organization: my home....
- Message-ID: <4k6m5m$542$2@mhadg.production.compuserve.com>
-
- Hi...I'm trying to set up a 64000 byte area of memory that i can
- then use as a virtual page to flip into the 0xA000 video memory
- area. I;m using TC++ v3.0 for dos. I;m using the huge memory
- module...
-
- I've tried malloc, I've tried 'unsigned char vir_page[64000];',
- and even if the program doesn't crash at those lines, it crashes
- when it reaches the assembly routine to flip the pages. the
- machine starts to draw the image, then locks solid after a few
- tries, which tells me i'm stomping on some memory i shouldn't be.
-
- i realise this isn't much to go on, but can anyone give me some
- help? or any suggestions? anything?
-
- --
- -----------
- "Daddy, why won't this magnet pick up this floppy disk?"
- John Clemens - Student Extrodinare (not in spelling)
- 75343.1203@compuserve.com <for now>
-